<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>美丽说,发现、收藏、分享我的美丽点滴,让改变发生</title>
	<link rel="stylesheet" href="__TEMPLATE__/css/meilishuo.css" />
</head>
<body>
	<include file='__TEMPLATE__/head.html' />
	<script type="text/javascript">
	$(function(){
		$('#show .outer .left .container').hover(function(){
			$(this).find('.right_cate').show();
		},function(){
			$(this).find('.right_cate').hide();
		})
		
		//中间轮播效果
		c=0;
		$('#show .bg .slide').eq(c).show();
		$('#show .outer .circle li').eq(c).css({'background':'#ED3577'});
		function run(){
			c++;
			c=(c==8)?0:c;
			$('#show .bg .slide').hide();
			$('#show .bg .slide').eq(c).show();
			$('#show .outer .circle li').css({'background':'pink'});
			$('#show .outer .circle li').eq(c).css({'background':'#ED3577'});
		}
		
		var timer = setInterval(function(){
			run();
		},2000);
		
			$('#show .outer .circle li').mouseenter(function() {
					
					c=$(this).index();
					clearInterval(timer);
					$(this).siblings().css({'background':'pink'});
					$(this).css({'background':'#ED3577'});
					$('#show .bg .slide').hide();
					$('#show .bg .slide').eq(c).show();

			});
			$('#show .outer .circle li').mouseleave(function() {
					clearInterval(timer);
					c=$(this).index();
					timer=setInterval(function(){run();},2000)
			});
			
			
			$('#show .outer .turn_left').click(function(){
				clearInterval(timer);
				c=c-1;
				c=(c==-1)?7:c;
				$('#show .bg .slide').hide();
				$('#show .bg .slide').eq(c).show();
				$('#show .outer .circle li').css({'background':'pink'});
				$('#show .outer .circle li').eq(c).css({'background':'#ED3577'});
				timer=setInterval(function(){run();},2000);
			});
			$('#show .outer .turn_right').click(function(){
				clearInterval(timer);
				c=c+1;
				c=(c==8)?0:c;
				$('#show .bg .slide').hide();
				$('#show .bg .slide').eq(c).show();
				$('#show .outer .circle li').css({'background':'pink'});
				$('#show .outer .circle li').eq(c).css({'background':'#ED3577'});
				timer=setInterval(function(){run();},2000);
			})
	})
	
	
	</script>
	
	<!--中间大轮播图开始-->
	<div id="show">
		<div class="outer">
			<div  class="left">
				<foreach from='$left_cate' key='$k' value='$v'>
					<div  style=" padding-top:1px;"   class="container">
							<dl class="list">	
								<dt class="head"><a class="hot" href="{|U:'List/index',array('cid'=>$v['cid'])}">{$v.cname}</a></dt>
								<foreach from='$v["son"]' key='$ke' value='$val'>
								<dd><a style="color: #666;" href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
								</foreach>
								<div class="right_cate">
									<dl>
									<foreach from='$v["son"]' key='$ke' value='$val'>
										<dt><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dt>
										<foreach from='$val["son"]' key='$key' value='$value'>
										<dd><a href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dd>
										</foreach>
									</foreach>
									</dl>
									
								</div><!--right_cate-->
								<span class="sign">&gt;</span>
							</dl><!--list-->
					</div>
				</foreach>
					
			</div><!--left-->
			<span class="turn_left"></span>
			<div class="right">
				<list from='$right_list' name='$r' row='3' start="0" empty='没有数据'> 
				<a style="background-image:url(__ROOT__/{$r.lthumb});" href="{|U:'Show/index',array('gid'=>$r['gid'])}"></a>
				</list> 
			</div><!--right-->
			<span class="turn_right"></span>
			<ul class="circle"><!--轮播图小圆点-->
				<li><a href="">1</a></li>
				<li><a href="">2</a></li>
				<li><a href="">3</a></li>
				<li><a href="">4</a></li>
				<li><a href="">5</a></li>
				<li><a href="">6</a></li>
				<li><a href="">7</a></li>
				<li><a href="">8</a></li>
			</ul><!--轮播图小圆点-->
			
		</div><!--outer-->
		<ul class="bg">
			<foreach from='$slide' key='$k' value='$v'>
			<li class="slide">
				<a style="background-image:url(__ROOT__/{$v.sthumb});"  href=""></a>
			</li>
			</foreach>
		</ul>
	</div><!--show-->
	
	
	<!--中间大轮播图结束-->
	
	<!--热销榜，流行榜，上新榜，专题榜开始-->
	<div id="bang">
		<a class="right" href=""></a>
		<list from='$right_list' name='$r' row='4' start="0" empty='没有数据'> 
			
		<a  style="background-image:url(__ROOT__/{$r.lthumb});" href="{|U:'Show/index',array('gid'=>$r['gid'])}"></a>
		</list>
	</div>
	
	<!--热销榜，流行榜，上新榜，专题榜结束-->
	
	<!--人气推荐单品-->
	<list from='$cate' name='$v' start='0' row='1'>
	<div id="hot_recom">
		<div class="head">
			<span class="pic"></span>
		</div><!--head-->
		<ul class="content">
			<div class="outer">
				<?php 
				$son_cid=K('Category')->get_son_cid($v['cid']);
				$son_cid[]=$v['cid'];
				$where='cid in (' . implode(',', $son_cid) . ')';
				$good=K('GDGView')->get_all_data($where);
				?>
				<list from='$good' name='$value' row='12'>
				<li class="list">
					<a class="pic"  style="background-image:url(__ROOT__/{$value.lthumb});"  href="{|U:'Show/index',array('gid'=>$value['gid'])}"></a>
					<p class="sub_title"><a href="{|U:'Show/index',array('gid'=>$value['gid'])}">{$value.gname|hd_substr:13,'...'}</a></p>
					<p class="price">{$value.price}<span>{$value.mprice}</span></p>
					<p class="total_buy">414人已购买</p>
				</li><!--list-->
				</list>
				
			</div><!--outer-->
		</ul><!--content-->
	</div><!--hot_recom-->
	</list>
	
	<!--人气推荐单品结束-->
	
	<!--每日超值团购-->
	
	
	<!--每日超值团购结束-->
	<!--衣服开始-->
	<list from='$cate' name='$v' start='1' row='1'>
	<div id="close">
		<div class="head">
			<span class="pic"></span>
			<i class='num'>今日上新 &nbsp;<strong>5653</strong>&nbsp;件</i>
			<a class="all" href="{|U:'List/index',array('cid'=>$v['cid'])}">查看所有衣服&gt;</a>
		</div><!--head-->
		<div class="left">
			<?php 
				$son_cid=K('Category')->get_son_cid($v['cid']);
				$son_cid[]=$v['cid'];
				$where='cid in (' . implode(',', $son_cid) . ')';
				$good=K('GDGView')->get_all_data($where);
				?>
			<list from='$good' name='$value' row='10'>
			<ul>
				<li><a  style="background-image:url(__ROOT__/{$value.lthumb});" href="{|U:'Show/index',array('gid'=>$value['gid'])}"></a></li>
			</ul>
			</list>
			<div class="bottom">
				<list from='$v["son"]' name='$value' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='1' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='2' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
			</div><!--bottom-->
		</div><!--left-->
		<div class="right">
			<p class="title">最热衣服<a href="{|U:'List/index',array('cid'=>$v['cid'])}">更多衣服&gt;</a></p>
			<list from='$good' name='$value' row='9'>
			<ul>
				<li>
					<a class="pic" href="{|U:'Show/index',array('gid'=>$value['gid'])}"><img style="width: 32px; height: 32px;" src="__ROOT__/{$value.lthumb}" alt="" /></a>
					<p class="name"><a href="{|U:'Show/index',array('gid'=>$value['gid'])}">{$value.gname|hd_substr:12,'...'}</a></p>
					<p>188件商品/总销量95406</p>
				</li>
			</ul>
			</list>

		</div><!--right-->
	</div><!--close-->
	</list>
	<!--衣服结束-->
	
	<!--鞋子开始-->
	<list from='$cate' name='$v' start='2' row='1'>
	<div id="shoe">
		<div class="head">
			<span class="pic"></span>
			<i class='num'>今日上新 &nbsp;<strong>5653</strong>&nbsp;件</i>
			<a class="all" href="">查看所有鞋子&gt;</a>
		</div><!--head-->
		<div class="left">
			<?php 
				$son_cid=K('Category')->get_son_cid($v['cid']);
				$son_cid[]=$v['cid'];
				$where='cid in (' . implode(',', $son_cid) . ')';
				$good=K('GDGView')->get_all_data($where);
				?>
			<list from='$good' name='$value' row='10'>
			<ul>
				<li><a  style="background-image:url(__ROOT__/{$value.lthumb});" href="{|U:'Show/index',array('gid'=>$value['gid'])}"></a></li>
			</ul>
			</list>
			<div class="bottom">
				<list from='$v["son"]' name='$value' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='1' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='2' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
			</div><!--bottom-->
		</div><!--left-->
		<div class="right">
			<p class="title">最热鞋子<a href="{|U:'List/index',array('cid'=>$v['cid'])}">更多鞋子&gt;</a></p>
			<list from='$good' name='$value' row='9'>
			<ul>
				<li>
					<a class="pic" href="{|U:'Show/index',array('gid'=>$value['gid'])}"><img style="width: 32px; height: 32px;" src="__ROOT__/{$value.lthumb}" alt="" /></a>
					<p class="name"><a href="{|U:'Show/index',array('gid'=>$value['gid'])}">{$value.gname|hd_substr:12,'...'}</a></p>
					<p>188件商品/总销量95406</p>
				</li>
			</ul>
			</list>

		</div><!--right-->
	</div><!--close-->
	</list>

	<!--鞋子结束-->
	
	<!--包包-->
	<list from='$cate' name='$v' start='3' row='1'>
	<div id="bag">
		<div class="head">
			<span class="pic"></span>
			<i class='num'>今日上新 &nbsp;<strong>5653</strong>&nbsp;件</i>
			<a class="all" href="{|U:'List/index',array('cid'=>$v['cid'])}">查看所有包包&gt;</a>
		</div><!--head-->
		<div class="left">
			<?php 
				$son_cid=K('Category')->get_son_cid($v['cid']);
				$son_cid[]=$v['cid'];
				$where='cid in (' . implode(',', $son_cid) . ')';
				$good=K('GDGView')->get_all_data($where);
				?>
			<list from='$good' name='$value' row='10'>
			<ul>
				<li><a  style="background-image:url(__ROOT__/{$value.lthumb});" href="{|U:'Show/index',array('gid'=>$value['gid'])}"></a></li>
			</ul>
			</list>
			<div class="bottom">
				<list from='$v["son"]' name='$value' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='1' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='2' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
			</div><!--bottom-->
		</div><!--left-->
		<div class="right">
			<p class="title">最热包包<a href="{|U:'List/index',array('cid'=>$v['cid'])}">更多包包&gt;</a></p>
			<list from='$good' name='$value' row='9'>
			<ul>
				<li>
					<a class="pic" href="{|U:'Show/index',array('gid'=>$value['gid'])}"><img style="width: 32px; height: 32px;" src="__ROOT__/{$value.lthumb}" alt="" /></a>
					<p class="name"><a href="{|U:'Show/index',array('gid'=>$value['gid'])}">{$value.gname|hd_substr:12,'...'}</a></p>
					<p>188件商品/总销量95406</p>
				</li>
			</ul>
			</list>

		</div><!--right-->
	</div><!--close-->
	</list>
	
	<!--包包结束-->
	
	<!--配饰开始-->
	<list from='$cate' name='$v' start='4' row='1'>
	<div id="decoration">
		<div class="head">
			<span class="pic"></span>
			<i class='num'>今日上新 &nbsp;<strong>5653</strong>&nbsp;件</i>
			<a class="all" href="{|U:'List/index',array('cid'=>$v['cid'])}">查看所有配饰&gt;</a>
		</div><!--head-->
		<div class="left">
			<?php 
				$son_cid=K('Category')->get_son_cid($v['cid']);
				$son_cid[]=$v['cid'];
				$where='cid in (' . implode(',', $son_cid) . ')';
				$good=K('GDGView')->get_all_data($where);
				?>
			<list from='$good' name='$value' row='10'>
			<ul>
				<li><a  style="background-image:url(__ROOT__/{$value.lthumb});" href="{|U:'Show/index',array('gid'=>$value['gid'])}"></a></li>
			</ul>
			</list>
			<div class="bottom">
				<list from='$v["son"]' name='$value' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='1' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
				<list from='$v["son"]' name='$value' start='2' row='1'>
				<dl class="container">
					<dt><a class="title" href="{|U:'List/index',array('cid'=>$value['cid'])}">{$value.cname}</a></dt>
					<list from='$value["son"]' name='$val' row='10'>
					<dd><a href="{|U:'List/index',array('cid'=>$val['cid'])}">{$val.cname}</a></dd>
					</list>
				</dl>
				</list>
			</div><!--bottom-->
		</div><!--left-->
		<div class="right">
			<p class="title">最热配饰<a href="{|U:'List/index',array('cid'=>$v['cid'])}">更多配饰&gt;</a></p>
			<list from='$good' name='$value' row='9'>
			<ul>
				<li>
					<a class="pic" href="{|U:'Show/index',array('gid'=>$value['gid'])}"><img style="width: 32px; height: 32px;" src="__ROOT__/{$value.lthumb}" alt="" /></a>
					<p class="name"><a href="{|U:'Show/index',array('gid'=>$value['gid'])}">{$value.gname|hd_substr:12,'...'}</a></p>
					<p>188件商品/总销量95406</p>
				</li>
			</ul>
			</list>

		</div><!--right-->
	</div><!--close-->
	</list>
	
	<!--配饰结束-->
	
	<!--尾部开始-->
	<include file='__TEMPLATE__/bottom.html'/>
	
	<!--尾部结束-->
	
</body>
</html>